package top.lunarye.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @author lunar
 * @since 2022-07-20
 */
@Getter
@ToString
@AllArgsConstructor
public enum RateLimitStrategy {

    REQUEST_RATE_LIMIT(10, "依据真实请求数限流"),
    SEND_USER_NUM_RATE_LIMIT(20, "依据发送用户数限流")
    ;

    private final Integer code;
    private final String description;

}
